#ifndef QCOMMANDOBJECT_H
#define QCOMMANDOBJECT_H

#include "../corelibglobal.h"

#include <QObject>
#include <QUndoCommand>


namespace CORELIB
{

    class CORELIB_EXPORT QCommandObject : public QObject
    {
        Q_OBJECT
    public:
        explicit QCommandObject(QObject *parent = 0);

        void    emit_redo();
        void    emit_undo();

    signals:
        void    redo();
        void    undo();
    public slots:

    };

}

#endif // QCOMMANDOBJECT_H
